// 统一管理后台接口中用到的url路径
const baseURL = 'https://api.alpha.patpat.vip';
// const baseURL = 'http://h5_api.dev.patpat.vip';

const LOGIN_API = '/api/user/login';

const CHECK_LOGIN_API = '/api/user/check_login';
const PRODUCT_DETAIL = '/v2/product';
const RECOMMENDATION = '/v2/product/recommendation/personalize'; // page page_size get
const HOME_POSITION_LAYOUT = '/v2/layout/home/index';

// 搜索
const HOT_SEARCH = '/v2/searches/hot_words'; // 热门搜索推荐
const SEARCH_FILTERS = '/v2/searches/filters'; // 搜索

// 分类
const CATE_FILTER = '/v2/categories/filters'; // 分类搜索

export default {
  baseURL,
  LOGIN_API,
  CHECK_LOGIN_API,
  PRODUCT_DETAIL,
  RECOMMENDATION,
  HOME_POSITION_LAYOUT,
  HOT_SEARCH,
  SEARCH_FILTERS,
  CATE_FILTER,
};
